<div>
<% remote_form_for @setting,
     :update => :new_or_edit_my_setting,
     :url => update_in_show_tools_weather_forecast_url(:id => @setting),
     :method => :put,
     :html => {
      :id => :setting_form
     } do |f| %> 
  <%= render :file => 'tools/weather_forecasts/_form_in_show.html', :locals => { :f => f, :setting => @setting } %>
<% end %>
  <dl class='bottom'>
    <dd>
      <%= link_to_function "保存我的设置", "$('setting_form').onsubmit()", :class => :submit %>
      <%= link_to_remote "重置",
            :update => :new_or_edit_my_setting,
            :url => edit_in_show_tools_weather_forecast_url(@setting),
            :method => :get,
            :html => {
              :class => :reset
            } %>
      <%= link_to_remote  "返回", 
            :update => :new_or_edit_my_setting,
            :url => index_in_show_tools_weather_forecasts_url,
            :method => :get,
            :html => {
              :class => :return
            } %>
    </dd>
  </dl>
</div>
<%= observe_field :province,
      :update => :user_tool_setting_weather_forecast_city_id,
      :url => cities_url,
      :with => "'&province_id=' + $F('province')",
      :method => :get
      
 %>   